package com.example.api.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 验证码
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Code implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 验证码
     */
    private String value;

    /**
     * 过期时间
     */
    private Date expireTime;

}